package io.gitee.twoke.generator.engine.impl.generate.method;

import java.util.Optional;

public interface GlobalMethodManager {
    Object proxy();
    <T> void register(Class<T> classType,T globalMethods);
    <T> void register(T instance);
    <T> T unregister(Class<T> clazz);
    <T> Optional<T> getOptional(Class<T> clazz);
    <T> T get(Class<T> clazz);
}
